package com.spzx.product.api.fallback;

import com.spzx.common.core.domain.R;
import com.spzx.product.api.RemoteProductService;
import com.spzx.product.api.domain.ProductSkuVo;
import org.springframework.stereotype.Component;

//@Component
public class RemoteProductServiceFallback implements RemoteProductService {
    @Override
    public R<ProductSkuVo> getProductSku(Long skuId, String source) {
        //降级结果
        return R.fail("获取商品SKU详情失败");
    }
}
